.container {
  min-height: 100vh;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  // margin-top: 160rpx;
}

.store-header {
  padding: 20rpx 30rpx;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2rpx solid #f5f5f5;

  .store-name {
    font-size: 28rpx;
    color: #333;
  }

  .header-right {
    .coupon, .edit {
      font-size: 28rpx;
      color: #666;
      margin-left: 30rpx;
    }

    .coupon {
      color: #ff0000;
    }
  }
}

.content {
  flex: 1;
  padding-bottom: 120rpx;
}

.cart-list {
  background: #fff;
  margin-bottom: 20rpx;

  .goods-item {
    display: flex;
    padding: 30rpx;
    align-items: center;
    border-bottom: 2rpx solid #f5f5f5;

    .select-btn {
      margin-right: 20rpx;

      .circle {
        display: inline-block;
        width: 40rpx;
        height: 40rpx;
        border: 2rpx solid #ddd;
        border-radius: 50%;
        position: relative;

        &.active {
          border-color: #ff0000;
          background: #ff0000;

          .check {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            color: #fff;
            font-size: 24rpx;
          }
        }
      }
    }

    .goods-img {
      width: 160rpx;
      height: 160rpx;
      border-radius: 8rpx;
      margin-right: 20rpx;
    }

    .goods-info {
      flex: 1;

      .goods-name {
        font-size: 28rpx;
        color: #333;
        margin-bottom: 10rpx;
      }

      .goods-spec {
        font-size: 24rpx;
        color: #999;
        margin-bottom: 20rpx;
      }

      .price-count {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .price {
          color: #ff0000;

          .symbol {
            font-size: 24rpx;
          }

          .number {
            font-size: 32rpx;
          }
        }

        .count-ctrl {
          display: flex;
          align-items: center;

          .minus, .plus {
            width: 44rpx;
            height: 44rpx;
            border: 2rpx solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30rpx;
            color: #666;
          }

          .count {
            width: 60rpx;
            text-align: center;
            font-size: 28rpx;
          }
        }
      }
    }
  }
}

.recommend {
  background: #fff;
  padding: 20rpx 30rpx;

  .recommend-title {
    font-size: 28rpx;
    color: #333;
    margin-bottom: 20rpx;
    position: relative;
    padding-left: 20rpx;

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 8rpx;
      height: 28rpx;
      background: #ff0000;
      border-radius: 4rpx;
    }
  }

  .recommend-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20rpx;

    .recommend-item {
      flex-shrink: 0;
      width: 240rpx;
      margin-right: 20rpx;

      image {
        width: 240rpx;
        height: 240rpx;
        border-radius: 8rpx;
        margin-bottom: 10rpx;
      }

      .item-info {
        .item-name {
          font-size: 26rpx;
          color: #333;
          margin-bottom: 10rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }

        .item-price-cart {
          display: flex;
          justify-content: space-between;
          align-items: center;

          .item-price {
            color: #ff0000;

            .symbol {
              font-size: 24rpx;
            }

            .number {
              font-size: 32rpx;
            }
          }

          .cart-icon {
            width: 40rpx;
            height: 40rpx;
          }
        }
      }
    }
  }
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 125rpx;
  height: 100rpx;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 30rpx;
  border-top: 2rpx solid #f5f5f5;

  .total-info {
    flex: 1;
    font-size: 28rpx;

    .total-price {
      color: #ff0000;
      font-size: 32rpx;
      font-weight: bold;
    }
  }

  .checkout-btn {
   background: #ff0000;
   color: #fff;
   padding: 20rpx 40rpx;
   border-radius: 40rpx;
   font-size: 28rpx;
  }
  
  
  .delete-btn{
	  background: #ff0000;
	  color: #fff;
	  padding: 20rpx 40rpx;
	  border-radius: 40rpx;
	  font-size: 28rpx;
  }
}